# -*- coding: utf-8 -*- 

###########################################################################
## Python code generated with wxFormBuilder (version Sep  8 2010)
## http://www.wxformbuilder.org/
##
## PLEASE DO "NOT" EDIT THIS FILE!
###########################################################################

import wx

ID_NAME = 10000
ID_TILEGROUP_WIDTH = 10001
ID_TILEGROUP_HEIGHT = 10002
ID_WIDTH = 10003
ID_HEIGHT = 10004
ID_TILESET = 10005
ID_MAIN_SPLITTER = 10006
ID_VIEWPORT = 10007
ID_MAIN_NOTEBOOK = 10008
ID_NEW_LAYER = 10009
ID_LAYER_LIST = 10010
ID_LAYER_OPTIONS = 10011
ID_PLACE_ACTOR = 10012
ID_PLACEABLE_COMPONENT_LIST = 10013
wx.ID_Copy = 10014
ID_PLAY = 10015
ID_END_PLAY = 10016
ID_LEVEL_PROPERTIES = 10017
ID_LEVEL_GOTO = 10018
ID_SHOW_GRID = 10019
ID_TEST_00 = 10020

###########################################################################
## Class __TEMP__
###########################################################################

class __TEMP__ ( wx.Panel ):
	
	def __init__( self, parent ):
		wx.Panel.__init__ ( self, parent, id = wx.ID_ANY, pos = wx.DefaultPosition, size = wx.Size( 500,300 ), style = wx.TAB_TRAVERSAL )
		
		bSizer7 = wx.BoxSizer( wx.VERTICAL )
		
		self.SetSizer( bSizer7 )
		self.Layout()
	
	def __del__( self ):
		pass
	

###########################################################################
## Class CNewLevelDialogBase
###########################################################################

class CNewLevelDialogBase ( wx.Dialog ):
	
	def __init__( self, parent ):
		wx.Dialog.__init__ ( self, parent, id = wx.ID_ANY, title = wx.EmptyString, pos = wx.DefaultPosition, size = wx.DefaultSize, style = wx.DEFAULT_DIALOG_STYLE )
		
		self.SetSizeHintsSz( wx.DefaultSize, wx.DefaultSize )
		
		bSizer8 = wx.BoxSizer( wx.VERTICAL )
		
		sbSizer1 = wx.StaticBoxSizer( wx.StaticBox( self, wx.ID_ANY, u"Level Properties" ), wx.VERTICAL )
		
		fgSizer2 = wx.FlexGridSizer( 4, 2, 0, 0 )
		fgSizer2.AddGrowableCol( 1 )
		fgSizer2.SetFlexibleDirection( wx.BOTH )
		fgSizer2.SetNonFlexibleGrowMode( wx.FLEX_GROWMODE_SPECIFIED )
		
		self.m_staticText1 = wx.StaticText( self, wx.ID_ANY, u"Name:", wx.DefaultPosition, wx.DefaultSize, 0 )
		self.m_staticText1.Wrap( -1 )
		fgSizer2.Add( self.m_staticText1, 0, wx.ALL|wx.ALIGN_CENTER_VERTICAL, 5 )
		
		self.m_textCtrl1 = wx.TextCtrl( self, ID_NAME, wx.EmptyString, wx.DefaultPosition, wx.DefaultSize, 0 )
		self.m_textCtrl1.SetMinSize( wx.Size( 200,-1 ) )
		
		fgSizer2.Add( self.m_textCtrl1, 1, wx.ALL|wx.EXPAND, 5 )
		
		self.m_staticText2 = wx.StaticText( self, wx.ID_ANY, u"Tile group size:", wx.DefaultPosition, wx.DefaultSize, 0 )
		self.m_staticText2.Wrap( -1 )
		fgSizer2.Add( self.m_staticText2, 0, wx.ALL|wx.ALIGN_CENTER_VERTICAL, 5 )
		
		bSizer1 = wx.BoxSizer( wx.HORIZONTAL )
		
		self.m_textCtrl2 = wx.TextCtrl( self, ID_TILEGROUP_WIDTH, wx.EmptyString, wx.DefaultPosition, wx.Size( 30,-1 ), 0 )
		self.m_textCtrl2.Enable( False )
		
		bSizer1.Add( self.m_textCtrl2, 0, wx.ALL, 5 )
		
		self.m_staticText51 = wx.StaticText( self, wx.ID_ANY, u"X", wx.DefaultPosition, wx.DefaultSize, 0 )
		self.m_staticText51.Wrap( -1 )
		bSizer1.Add( self.m_staticText51, 0, wx.ALIGN_CENTER_VERTICAL|wx.TOP|wx.BOTTOM, 5 )
		
		self.m_textCtrl3 = wx.TextCtrl( self, ID_TILEGROUP_HEIGHT, wx.EmptyString, wx.DefaultPosition, wx.Size( 30,-1 ), 0 )
		self.m_textCtrl3.Enable( False )
		
		bSizer1.Add( self.m_textCtrl3, 0, wx.ALL, 5 )
		
		self.m_staticText6 = wx.StaticText( self, wx.ID_ANY, u"tiles", wx.DefaultPosition, wx.DefaultSize, 0 )
		self.m_staticText6.Wrap( -1 )
		bSizer1.Add( self.m_staticText6, 0, wx.ALIGN_CENTER_VERTICAL|wx.TOP|wx.BOTTOM|wx.RIGHT, 5 )
		
		fgSizer2.Add( bSizer1, 1, wx.EXPAND, 5 )
		
		self.m_staticText4 = wx.StaticText( self, wx.ID_ANY, u"Level size:", wx.DefaultPosition, wx.DefaultSize, 0 )
		self.m_staticText4.Wrap( -1 )
		fgSizer2.Add( self.m_staticText4, 0, wx.ALL|wx.ALIGN_CENTER_VERTICAL, 5 )
		
		bSizer11 = wx.BoxSizer( wx.HORIZONTAL )
		
		self.m_textCtrl21 = wx.TextCtrl( self, ID_WIDTH, wx.EmptyString, wx.DefaultPosition, wx.Size( 30,-1 ), 0 )
		bSizer11.Add( self.m_textCtrl21, 0, wx.ALL, 5 )
		
		self.m_staticText511 = wx.StaticText( self, wx.ID_ANY, u"X", wx.DefaultPosition, wx.DefaultSize, 0 )
		self.m_staticText511.Wrap( -1 )
		bSizer11.Add( self.m_staticText511, 0, wx.ALIGN_CENTER_VERTICAL|wx.TOP|wx.BOTTOM, 5 )
		
		self.m_textCtrl31 = wx.TextCtrl( self, ID_HEIGHT, wx.EmptyString, wx.DefaultPosition, wx.Size( 30,-1 ), 0 )
		bSizer11.Add( self.m_textCtrl31, 0, wx.ALL, 5 )
		
		self.m_staticText61 = wx.StaticText( self, wx.ID_ANY, u"tile groups", wx.DefaultPosition, wx.DefaultSize, 0 )
		self.m_staticText61.Wrap( -1 )
		bSizer11.Add( self.m_staticText61, 0, wx.ALIGN_CENTER_VERTICAL|wx.TOP|wx.BOTTOM|wx.RIGHT, 5 )
		
		fgSizer2.Add( bSizer11, 1, wx.EXPAND, 5 )
		
		self.m_staticText5 = wx.StaticText( self, wx.ID_ANY, u"Tileset:", wx.DefaultPosition, wx.DefaultSize, 0 )
		self.m_staticText5.Wrap( -1 )
		fgSizer2.Add( self.m_staticText5, 0, wx.ALL|wx.ALIGN_CENTER_VERTICAL, 5 )
		
		self.m_filePicker1 = wx.FilePickerCtrl( self, ID_TILESET, wx.EmptyString, u"Select a file", u"*.*", wx.DefaultPosition, wx.DefaultSize, wx.FLP_DEFAULT_STYLE )
		self.m_filePicker1.Enable( False )
		
		fgSizer2.Add( self.m_filePicker1, 1, wx.ALL|wx.EXPAND, 5 )
		
		sbSizer1.Add( fgSizer2, 1, wx.ALL|wx.EXPAND, 5 )
		
		bSizer8.Add( sbSizer1, 1, wx.ALL|wx.EXPAND, 5 )
		
		m_sdbSizer1 = wx.StdDialogButtonSizer()
		self.m_sdbSizer1OK = wx.Button( self, wx.ID_OK )
		m_sdbSizer1.AddButton( self.m_sdbSizer1OK )
		self.m_sdbSizer1Cancel = wx.Button( self, wx.ID_CANCEL )
		m_sdbSizer1.AddButton( self.m_sdbSizer1Cancel )
		m_sdbSizer1.Realize();
		bSizer8.Add( m_sdbSizer1, 0, wx.ALIGN_RIGHT|wx.ALL|wx.EXPAND, 5 )
		
		self.SetSizer( bSizer8 )
		self.Layout()
		bSizer8.Fit( self )
		
		self.Centre( wx.BOTH )
	
	def __del__( self ):
		pass
	

###########################################################################
## Class CMainPanel
###########################################################################

class CMainPanel ( wx.Panel ):
	
	def __init__( self, parent ):
		wx.Panel.__init__ ( self, parent, id = wx.ID_ANY, pos = wx.DefaultPosition, size = wx.Size( -1,-1 ), style = wx.TAB_TRAVERSAL )
		
		bSizer5 = wx.BoxSizer( wx.HORIZONTAL )
		
		self.m_splitter1 = wx.SplitterWindow( self, ID_MAIN_SPLITTER, wx.DefaultPosition, wx.DefaultSize, wx.SP_3D )
		self.m_splitter1.Bind( wx.EVT_IDLE, self.m_splitter1OnIdle )
		self.m_splitter1.SetMinimumPaneSize( 200 )
		
		self.m_panel1 = wx.Panel( self.m_splitter1, wx.ID_ANY, wx.DefaultPosition, wx.DefaultSize, wx.TAB_TRAVERSAL )
		bSizer9 = wx.BoxSizer( wx.VERTICAL )
		
		self.m_staticText9 = wx.StaticText( self.m_panel1, ID_VIEWPORT, u"VIEWPORT", wx.DefaultPosition, wx.DefaultSize, 0 )
		self.m_staticText9.Wrap( -1 )
		bSizer9.Add( self.m_staticText9, 1, wx.ALL|wx.EXPAND, 5 )
		
		self.m_panel1.SetSizer( bSizer9 )
		self.m_panel1.Layout()
		bSizer9.Fit( self.m_panel1 )
		self.m_panel2 = wx.Panel( self.m_splitter1, wx.ID_ANY, wx.DefaultPosition, wx.Size( -1,-1 ), wx.TAB_TRAVERSAL )
		bSizer11 = wx.BoxSizer( wx.VERTICAL )
		
		self.m_notebook1 = wx.Notebook( self.m_panel2, ID_MAIN_NOTEBOOK, wx.DefaultPosition, wx.Size( -1,-1 ), 0 )
		self.m_panel3 = wx.Panel( self.m_notebook1, wx.ID_ANY, wx.DefaultPosition, wx.DefaultSize, wx.TAB_TRAVERSAL )
		bSizer12 = wx.BoxSizer( wx.VERTICAL )
		
		self.m_staticText11 = wx.StaticText( self.m_panel3, ID_TILESET, u"TILESET", wx.DefaultPosition, wx.DefaultSize, 0 )
		self.m_staticText11.Wrap( -1 )
		bSizer12.Add( self.m_staticText11, 0, wx.ALL, 5 )
		
		self.m_panel3.SetSizer( bSizer12 )
		self.m_panel3.Layout()
		bSizer12.Fit( self.m_panel3 )
		self.m_notebook1.AddPage( self.m_panel3, u"Tiles", True )
		self.m_panel4 = wx.Panel( self.m_notebook1, wx.ID_ANY, wx.DefaultPosition, wx.DefaultSize, wx.TAB_TRAVERSAL )
		bSizer13 = wx.BoxSizer( wx.VERTICAL )
		
		bSizer14 = wx.BoxSizer( wx.HORIZONTAL )
		
		self.m_button1 = wx.Button( self.m_panel4, ID_NEW_LAYER, u"New...", wx.DefaultPosition, wx.DefaultSize, 0 )
		bSizer14.Add( self.m_button1, 0, wx.ALL, 5 )
		
		bSizer13.Add( bSizer14, 0, wx.EXPAND, 5 )
		
		m_listBox1Choices = []
		self.m_listBox1 = wx.ListBox( self.m_panel4, ID_LAYER_LIST, wx.DefaultPosition, wx.DefaultSize, m_listBox1Choices, 0 )
		bSizer13.Add( self.m_listBox1, 1, wx.ALL|wx.EXPAND, 5 )
		
		bSizer16 = wx.BoxSizer( wx.VERTICAL )
		
		sbSizer2 = wx.StaticBoxSizer( wx.StaticBox( self.m_panel4, wx.ID_ANY, u"Layer options" ), wx.VERTICAL )
		
		self.m_staticText12 = wx.StaticText( self.m_panel4, ID_LAYER_OPTIONS, u"LAYER OPTIONS", wx.DefaultPosition, wx.DefaultSize, 0 )
		self.m_staticText12.Wrap( -1 )
		sbSizer2.Add( self.m_staticText12, 0, wx.ALL, 5 )
		
		bSizer16.Add( sbSizer2, 1, wx.EXPAND|wx.ALL, 5 )
		
		bSizer13.Add( bSizer16, 1, wx.EXPAND, 5 )
		
		self.m_panel4.SetSizer( bSizer13 )
		self.m_panel4.Layout()
		bSizer13.Fit( self.m_panel4 )
		self.m_notebook1.AddPage( self.m_panel4, u"Layers", False )
		self.m_panel5 = wx.Panel( self.m_notebook1, wx.ID_ANY, wx.DefaultPosition, wx.DefaultSize, wx.TAB_TRAVERSAL )
		bSizer17 = wx.BoxSizer( wx.VERTICAL )
		
		bSizer18 = wx.BoxSizer( wx.HORIZONTAL )
		
		self.m_button4 = wx.Button( self.m_panel5, ID_PLACE_ACTOR, u"Place Actor", wx.DefaultPosition, wx.DefaultSize, 0 )
		bSizer18.Add( self.m_button4, 0, wx.ALL, 5 )
		
		bSizer17.Add( bSizer18, 0, wx.EXPAND, 5 )
		
		sbSizer3 = wx.StaticBoxSizer( wx.StaticBox( self.m_panel5, wx.ID_ANY, u"Components" ), wx.VERTICAL )
		
		m_listBox2Choices = []
		self.m_listBox2 = wx.ListBox( self.m_panel5, ID_PLACEABLE_COMPONENT_LIST, wx.DefaultPosition, wx.DefaultSize, m_listBox2Choices, 0 )
		sbSizer3.Add( self.m_listBox2, 1, wx.ALL|wx.EXPAND, 5 )
		
		bSizer17.Add( sbSizer3, 1, wx.EXPAND|wx.ALL, 5 )
		
		self.m_panel5.SetSizer( bSizer17 )
		self.m_panel5.Layout()
		bSizer17.Fit( self.m_panel5 )
		self.m_notebook1.AddPage( self.m_panel5, u"Actors", False )
		
		bSizer11.Add( self.m_notebook1, 1, wx.ALL|wx.EXPAND, 5 )
		
		self.m_panel2.SetSizer( bSizer11 )
		self.m_panel2.Layout()
		bSizer11.Fit( self.m_panel2 )
		self.m_splitter1.SplitVertically( self.m_panel1, self.m_panel2, -250 )
		bSizer5.Add( self.m_splitter1, 1, wx.EXPAND, 5 )
		
		self.SetSizer( bSizer5 )
		self.Layout()
		bSizer5.Fit( self )
	
	def __del__( self ):
		pass
	
	def m_splitter1OnIdle( self, event ):
		self.m_splitter1.SetSashPosition( -250 )
		self.m_splitter1.Unbind( wx.EVT_IDLE )
	

###########################################################################
## Class CMainMenuBar
###########################################################################

class CMainMenuBar ( wx.MenuBar ):
	
	def __init__( self ):
		wx.MenuBar.__init__ ( self, style = 0 )
		
		self.m_menu1 = wx.Menu()
		self.m_menuItem1 = wx.MenuItem( self.m_menu1, wx.ID_NEW, u"&New", wx.EmptyString, wx.ITEM_NORMAL )
		self.m_menu1.AppendItem( self.m_menuItem1 )
		
		self.m_menuItem13 = wx.MenuItem( self.m_menu1, wx.ID_OPEN, u"&Open", wx.EmptyString, wx.ITEM_NORMAL )
		self.m_menu1.AppendItem( self.m_menuItem13 )
		
		self.m_menu1.AppendSeparator()
		
		self.m_menuItem131 = wx.MenuItem( self.m_menu1, wx.ID_CLOSE, u"&Close", wx.EmptyString, wx.ITEM_NORMAL )
		self.m_menu1.AppendItem( self.m_menuItem131 )
		
		self.m_menu1.AppendSeparator()
		
		self.m_menuItem3 = wx.MenuItem( self.m_menu1, wx.ID_SAVE, u"&Save", wx.EmptyString, wx.ITEM_NORMAL )
		self.m_menu1.AppendItem( self.m_menuItem3 )
		
		self.m_menuItem4 = wx.MenuItem( self.m_menu1, wx.ID_SAVEAS, u"Save &As...", wx.EmptyString, wx.ITEM_NORMAL )
		self.m_menu1.AppendItem( self.m_menuItem4 )
		
		self.m_menu1.AppendSeparator()
		
		self.m_menuItem5 = wx.MenuItem( self.m_menu1, wx.ID_EXIT, u"&Quit", wx.EmptyString, wx.ITEM_NORMAL )
		self.m_menu1.AppendItem( self.m_menuItem5 )
		
		self.Append( self.m_menu1, u"File" ) 
		
		self.m_menu2 = wx.Menu()
		self.m_menuItem6 = wx.MenuItem( self.m_menu2, wx.ID_CUT, u"Cu&t", wx.EmptyString, wx.ITEM_NORMAL )
		self.m_menu2.AppendItem( self.m_menuItem6 )
		
		self.m_menuItem7 = wx.MenuItem( self.m_menu2, wx.ID_Copy, u"&Copy", wx.EmptyString, wx.ITEM_NORMAL )
		self.m_menu2.AppendItem( self.m_menuItem7 )
		
		self.m_menuItem8 = wx.MenuItem( self.m_menu2, wx.ID_PASTE, u"&Paste", wx.EmptyString, wx.ITEM_NORMAL )
		self.m_menu2.AppendItem( self.m_menuItem8 )
		
		self.Append( self.m_menu2, u"Edit" ) 
		
		self.m_menu3 = wx.Menu()
		self.m_menuItem17 = wx.MenuItem( self.m_menu3, ID_PLAY, u"&Play", wx.EmptyString, wx.ITEM_NORMAL )
		self.m_menu3.AppendItem( self.m_menuItem17 )
		
		self.m_menuItem18 = wx.MenuItem( self.m_menu3, ID_END_PLAY, u"&End Play", wx.EmptyString, wx.ITEM_NORMAL )
		self.m_menu3.AppendItem( self.m_menuItem18 )
		
		self.m_menu3.AppendSeparator()
		
		self.m_menuItem10 = wx.MenuItem( self.m_menu3, ID_LEVEL_PROPERTIES, u"&Properties", wx.EmptyString, wx.ITEM_NORMAL )
		self.m_menu3.AppendItem( self.m_menuItem10 )
		
		self.m_menuItem12 = wx.MenuItem( self.m_menu3, ID_LEVEL_GOTO, u"&Goto...", wx.EmptyString, wx.ITEM_NORMAL )
		self.m_menu3.AppendItem( self.m_menuItem12 )
		
		self.Append( self.m_menu3, u"Level" ) 
		
		self.m_menu4 = wx.Menu()
		self.m_menuItem9 = wx.MenuItem( self.m_menu4, ID_SHOW_GRID, u"Show &Grid", wx.EmptyString, wx.ITEM_CHECK )
		self.m_menu4.AppendItem( self.m_menuItem9 )
		
		self.Append( self.m_menu4, u"View" ) 
		
		self.m_menu5 = wx.Menu()
		self.m_menuItem2 = wx.MenuItem( self.m_menu5, wx.ID_ABOUT, u"&About", wx.EmptyString, wx.ITEM_NORMAL )
		self.m_menu5.AppendItem( self.m_menuItem2 )
		
		self.Append( self.m_menu5, u"Help" ) 
		
		self.m_menu6 = wx.Menu()
		self.m_menuItem14 = wx.MenuItem( self.m_menu6, ID_TEST_00, u"&Spawn Actors (00)", wx.EmptyString, wx.ITEM_NORMAL )
		self.m_menu6.AppendItem( self.m_menuItem14 )
		
		self.Append( self.m_menu6, u"Test" ) 
		
	
	def __del__( self ):
		pass
	

